package com.linran.wxpublic.util;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import java.util.concurrent.TimeUnit;

@Component
public class RedisUtil {
//    @Autowired
//    private RedissonClient redissonClient;

    public void set(String key, String value, long l, TimeUnit timeUnit) {
//        RBucket<String> bucket = redissonClient.getBucket(key);
//        bucket.set(value, l, timeUnit);
    }

    public String get(String key) {
//        RBucket<String> bucket = redissonClient.getBucket(key);
//        return bucket.get();
        return null;
    }
}
